﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    /// <summary>
    /// 账号
    /// </summary>
    [Table("AA001")]
    public class Account:Base
    {
        [Required]
        [Column("AA02")]
        /// <summary>
        /// 账户名
        /// </summary>
        public string? AccountName { get; set; }
        [MinLength(6)]
        [MaxLength(12)]
        [Required]
        /// <summary>
        /// 账户密码
        /// </summary>
        public string? AccountPassWord { get; set; }
        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime? LastyLoginTime { get; set; }
    }
}
